package Exceptions;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;

public class Exer {

	public static void main(String[] args) throws PersonException
	{
		try{
		Animal animal = new Cat();
		animal.calculate();
		
		
		}
		catch (Exception a)
		{
			System.out.println("bli bla blu");
		}
		
		
		Dog dog = new Dog();
		dog.calculate();
		
		}

}
